UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Samba must be configured to use encrypted passwords.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22500 GEN006230 SV-35111r1_rule IAIA-1 IAIA-2 Medium
Description
Samba must be configured to protect authenticators. If Samba passwords are not encrypted for storage, plain-text user passwords may be read by those with access to the Samba password file.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2015-06-12

Details

Check Text ( C-36706r1_chk )
Check the encryption setting in the Samba configuration file.

# cat /etc/opt/samba/smb.conf | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | grep -v "^#" | grep -i "^encrypt passwords = yes"

If the encrypt passwords setting is not set to "yes", this is a finding.
Fix Text (F-32083r1_fix)
Edit the /etc/opt/samba/smb.conf file and change the encrypt passwords setting to yes, for example:

encrypt passwords = yes